<template>
  <van-list :finished="finished" finished-text="没有更多了">
    <van-cell v-for="item in arr" :key="item" :title="item" @click="cellClick(item)" />
  </van-list>
</template>

<script>
  export default {
    props: ['arr'],
    data() {
      return {
        finished: true
      }
    },
    methods: {
      cellClick(val) {
        this.$emit('cellClick', val);
      }
    }
  }
</script>

<style scoped>

</style>
